import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 重置样式
import '@/assets/css/reset.css'
// 引入字体图标
import '@/assets/font/iconfont.css'
// //swiper公共样式
// import "swiper/dist/css/swiper.min.css";
// // 引入vantUI库
import 'vant/lib/index.css';
import {Collapse, CollapseItem,Tabbar, TabbarItem ,Swipe,Lazyload, SwipeItem,Search, Tab, Tabs, Popup,Slider,Toast,Sticky } from 'vant';
// 使用ul插件
Vue.use(Swipe).use(Collapse).use(CollapseItem).use(Lazyload).use(SwipeItem).use(Tabbar).use(TabbarItem).use(Search).use(Tab).use(Tabs).use(Popup).use(Slider).use(Toast).use(Sticky)
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App),
      beforeCreate() {
    Vue.prototype.$bus=this//安装全局总线
 }
}).$mount('#app')
